using System.Collections.ObjectModel;
using KinonekoSoftware.JuXiaoYouDB.Documents.General;
using KinonekoSoftware.JuXiaoYouDB.Documents.General.Properties;
using KinonekoSoftware.JuXiaoYouDB.Objects;

namespace KinonekoSoftware.JuXiaoYouDB.SubSystem.Categories
{
    /// <summary>
    /// <see cref="ModuleGroupDefinition"/> 类型用于表示一个模块，通过多个模组组合在一起，就实现了模块。
    /// </summary>
    public sealed class ModuleGroupDefinition : IntroObject
    {
        /// <summary>
        /// 描述设定存模组的顺序。
        /// </summary>
        public int Index { get; set; }

        public ObservableCollection<ModuleElementType> Definitions { get; set; }
    }
}